package com.xhwl.logistics.dto.query;

import com.alibaba.fastjson.annotation.JSONField;
import com.xhwl.logistics.constant.VehicleConstant;
import lombok.Getter;
import lombok.Setter;

@Setter
@Getter
public class PageDTO {

    //兼容之前与前端商定的分页的名称：查询当前页为：current
    @JSONField(name = "current")
    private Integer pageNumber = 1;

    //兼容之前与前端商定的分页的名称：页数量为：pageSize
    @JSONField(name = "pageSize")
    private Integer pageSize = 20;

    private String sortColumn = "pay_time";

    private String sortDirection = VehicleConstant.SORT_DIRECTION_DESC;

}
